Added support for FIT version 2.0
authorTorsten Metzner <37560190+tormet@users.noreply.github.com>
Tue, 20 Mar 2018 21:31:24 +0000 (22:31 +0100)
committerTorsten Metzner <37560190+tormet@users.noreply.github.com>
Tue, 20 Mar 2018 21:31:24 +0000 (22:31 +0100)
commit4a928dc79548cf4497c02fdac86885dac7589d96
treef26ecc3308a09efca12f30745fb535ba214085fc
parent7777f47ed9881ed1f1d1080f66004c31c0f51a3e
Added support for FIT version 2.0
With FIT version 2.0 developer fields where added to the definition
messages. These fields extends the definiton messages and due to this the
number of records which must be parsed afterwards.

FIT files containing developer fields could not be parsed before
this changes.

Simple support was added by just parsing the data but without using them.
It is not expected that any of the currently used data like the
position or the elevation is coded inside the developer fields
because for this we have the already existing records from
FIT version 1.0

Added a test with a fit test file coming from the Wahoo Element Bolt
which uses developer fields from FIT version 2.0
garmin_fit.cc
reference/track/wahoo-element-bolt.fit [new file with mode: 0644]
reference/track/wahoo-element-bolt.gpx [new file with mode: 0644]
testo.d/garmin_fit.test